package com.salton123.charging;

import com.salton123.soulove.lib_demo.R;

public class Consts {
    public static final int BATTERY_LEVEL_COUNT = 6;
    public static final String CUSTOM_TIME_DEFAULT = "00:00";
    public static final boolean DEFAULT_ALWAYS_KEEP_RUNNING = false;
    public static final boolean DEFAULT_CUSTOM_TIME_ENABLED = false;
    public static String DEFAULT_MAIN_SERVER = null;
    public static final boolean DEFAULT_MUTE_WHILE_PLAYING = false;
    public static final int DEFAULT_SOUND_CHANNEL = 3;
    public static final String DEFAULT_SOUND_CHANNEL_STR = String.valueOf(3);
    public static final int DEFAULT_SOUND_ID = 1;
    public static final String DEFAULT_SOUND_PICKER = "file_manager";
    public static final boolean DEFAULT_TONE_CONTROL = false;
    public static final int[] INTERNAL_RAW_SOUNDS =
            new int[]{R.raw.mtyjgmwz_hmbb, R.raw.mtyjgmwz_girl, R.raw.giao, R.raw.memeda, R.raw.timo};
    public static final String KEY_ALWAYS_KEEP_RUNNING = "key_always_keep_running";
    public static final String[] KEY_BATTERY_LEVELS = new String[6];
    public static final String[] KEY_BATTERY_LEVELS_ENABLED = new String[6];
    public static final String[] KEY_BATTERY_LEVELS_SOUND_ID = new String[6];
    public static final String KEY_BATTERY_LOW_ENABLED = "key_batterylow_enabled";
    public static final String KEY_BATTERY_LOW_SOUND_ID = "key_batterylow_id";
    public static final String KEY_CHARGE_FULL = "key_chargefull";
    public static final String KEY_CHARGE_FULL_ENABLED = "key_chargefull_enabled";
    public static final String KEY_CHARGE_FULL_SOUND_ID = "key_chargefull_id";
    public static final String KEY_CUSTOM_TIME_ENABLED = "key_custom_time_enabled";
    public static final String KEY_CUSTOM_TIME_END = "key_custom_time_end";
    public static final String KEY_CUSTOM_TIME_START = "key_custom_time_start";
    public static final String KEY_DONT_REMIND_BATTERY_OPTIMIZATION = "key_dont_remind_battery_optimization";
    public static final String KEY_EXCLUDE_FROM_RECENTS = "key_exclude_from_recents";
    public static final String KEY_IGNORE_BATTERY_OPTIMIZATION = "key_ignore_battery_optimization";
    public static final String KEY_IS_SHOWED_TIPS = "key_is_showed_tips";
    public static final String KEY_MAIN_SERVER = "key_main_server";
    public static final String KEY_MUTE_WHILE_PLAYING = "key_mute_while_playing";
    public static final String KEY_PLUG_IN_ENABLED = "key_plugin_enabled";
    public static final String KEY_PLUG_IN_SOUND_ID = "key_plugin_id";
    public static final String KEY_PLUG_OUT_ENABLED = "key_plugout_enabled";
    public static final String KEY_PLUG_OUT_SOUND_ID = "key_plugout_id";
    public static final String KEY_SOUND_CHANNEL = "key_sound_channel";
    public static final String KEY_SOUND_PICKER = "key_sound_picker";
    public static final String KEY_SOUND_STANDALONE_VOLUME = "settings_sound_standalone_volume";
    public static final String KEY_USE_FLOATING_SERVICE = "key_use_floating_service";
    public static final int REQUEST_CODE_FLOATING_SERVICE_PERMISSION = 103;
    public static final int REQUEST_CODE_PICK_EXTERNAL_SOUND = 101;
    public static final int REQUEST_CODE_WRITE_PERMISSION = 102;
    public static String SERVER = null;
    public static final String SOUND_PICKER_FILE_MANAGER = "file_manager";
    public static final String SOUND_PICKER_MUSIC_APP = "audio_app";
    public static String URL_AD;
    public static String URL_AD2;
    public static String URL_CHECK_UPDATE;
    public static String URL_SOUND_LIBRARY;

    static {
        KEY_BATTERY_LEVELS[0] = KEY_CHARGE_FULL;
        KEY_BATTERY_LEVELS_SOUND_ID[0] = KEY_CHARGE_FULL_SOUND_ID;
        KEY_BATTERY_LEVELS_ENABLED[0] = KEY_CHARGE_FULL_ENABLED;
        for (int i = 1; i < 6; i++) {
            String[] strArr = KEY_BATTERY_LEVELS;
            StringBuilder stringBuilder = new StringBuilder();
            stringBuilder.append("key_battery_level_");
            stringBuilder.append(i);
            strArr[i] = stringBuilder.toString();
            strArr = KEY_BATTERY_LEVELS_SOUND_ID;
            stringBuilder = new StringBuilder();
            stringBuilder.append("key_battery_level_id_");
            stringBuilder.append(i);
            strArr[i] = stringBuilder.toString();
            strArr = KEY_BATTERY_LEVELS_ENABLED;
            stringBuilder = new StringBuilder();
            stringBuilder.append("key_battery_level_enabled_");
            stringBuilder.append(i);
            strArr[i] = stringBuilder.toString();
        }
        StringBuilder stringBuilder2 = new StringBuilder();
        stringBuilder2.append(SERVER);
        stringBuilder2.append("/ad/ad.json");
        URL_AD = stringBuilder2.toString();
        stringBuilder2 = new StringBuilder();
        stringBuilder2.append(SERVER);
        stringBuilder2.append("/ad/ad2.json");
        URL_AD2 = stringBuilder2.toString();
        stringBuilder2 = new StringBuilder();
        stringBuilder2.append(SERVER);
        stringBuilder2.append("/data.json");
        URL_SOUND_LIBRARY = stringBuilder2.toString();
        stringBuilder2 = new StringBuilder();
        stringBuilder2.append(SERVER);
        stringBuilder2.append("/update.json");
        URL_CHECK_UPDATE = stringBuilder2.toString();
    }
}
